/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package chameleon.view;

import java.util.Iterator;
import java.util.Vector;

/**
 * This class represent the console (or other way to display something) for
 * the program. So each time where the program would display something,
 * he must send it to this output interface.
 *
 * In this classes they exists some display method pre-implemented
 */

/**
 *
 * @author simon
 */
public class OutputManager {


    public OutputManager(){
        ;
    }

    public void displayString(String out){
        System.out.print(out);
    }

    public void displayVector(Vector<String> vec){
        Iterator iterator = vec.iterator();
        while (iterator.hasNext()){
            displayString((String) iterator.next());
            System.out.println();
        }
    }
}
